package com.demo.studentmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author ZHB
 * @version 1.0.0
 * @date Create in 2020/11/19
 */

@Data
@Accessors(chain = true)
@ApiModel
public class Course {

    @ApiModelProperty
    @TableId
    private String cno;

    @ApiModelProperty(value = "课程名")
    private String cname;

    @ApiModelProperty(value = "最大人数")
    private Integer maxSize;

    @ApiModelProperty(value = "总数量")
    private Integer total;

    @ApiModelProperty(value = "状态")
    private String status;

    public String getCno() {
        return cno;
    }


}
